/**
 * 查看房屋详情枚举
 */
export const HOUSE_PROPERTY_ENUM = [
  {
    label: "户主名称",
    fieldName: "ownName",
  },
  {
    label: "手机号码",
    fieldName: "mobile",
  },
  {
    label: "省市区",
    fieldName: "region",
  },
  {
    label: "小区名称",
    fieldName: "neighborhood",
  },
  {
    label: "门牌号",
    fieldName: "houseNumber",
  },
  {
    label: "面积",
    fieldName: "size",
  },
  {
    label: "房屋结构",
    fieldName: "houseStructureText",
  },
  {
    label: "房屋类型",
    fieldName: "houseTypeText",
  },
  {
    label: "户型",
    fieldName: "floorPlan",
  },
  {
    label: "原始结构平面图",
    fieldName: "planeGraphFile",
    image: true,
  },
  {
    label: "装修预算(元)",
    fieldName: "decorationBudget",
  },
  {
    label: "居住成员",
    fieldName: "householdMembers",
  },
  {
    label: "装修风格",
    fieldName: "decorationStyleText",
  },
  // {
  //   label: "需求阶段",
  //   fieldName: "decorationStep",
  // },
  {
    label: "计划开工时间",
    fieldName: "decorationPlanTime",
  },
  {
    label: "计划入住时间",
    fieldName: "livePlanTime",
  },
  {
    label: "装修形式",
    fieldName: "decorationTypeText",
  },
  {
    label: "空间个性化需求-描述",
    fieldName: "personalizedNeedsDesc",
  },
  // {
  //   label: "优先考虑",
  //   fieldName: "intentionIdentity",
  // },
  {
    label: "是否需要装修贷",
    fieldName: "decorationLoan",
  },
  // {
  //   label: "房屋所有权证",
  //   fieldName: "ownershipCertificateFile",
  //   image: true,
  // },
  {
    label: "法人代表身份证正面文件路径",
    fieldName: "idCardFrontFile",
    image: true,
  },
  {
    label: "法人代表身份证反面文件路径",
    fieldName: "idCardBackFile",
    image: true,
  },
  {
    label: "身份证号",
    fieldName: "idNumber",
  },
  {
    label: "身份证有效期",
    fieldName: "idCardValidity",
  },
];
/**
 * 房屋需求阶段枚举
 */
export const HOUSE_DECORATION_STEP_ENUM = [
  {
    label: "未认证",
    value: 0,
  },
  {
    label: "认证阶段",
    value: 1,
  },
  {
    label: "设计建档",
    value: 2,
  },
  {
    label: "施工建档/材料选购",
    value: 3,
  },
  {
    label: "家具进场/软装布置",
    value: 4,
  },
  {
    label: "乔迁之喜",
    value: 5,
  },
];
const HOUSE_DECORATION_STEP_ENUM_OBJECT = {};
HOUSE_DECORATION_STEP_ENUM.forEach((item) => {
  HOUSE_DECORATION_STEP_ENUM_OBJECT[item.value] = item.label;
});
export { HOUSE_DECORATION_STEP_ENUM_OBJECT };

/**
 *
 * 需要对象处理的枚举
 */
export const HANDLE_OBJECT_ENUM = ["floorPlan", "householdMembers"];

/**
 * 乔迁之禧状态枚举
 *
 */
export const AUDIT_STATUS_ENUM = {
  申请中: 0,
  成功: 1,
  失败: 2,
};
export const HOUSE_END_STATUS_ENUM = {
  [AUDIT_STATUS_ENUM.申请中]: {
    label: "申请中",
    type: "warning",
  },
  [AUDIT_STATUS_ENUM.成功]: {
    label: "成功",
    type: "success",
  },
  [AUDIT_STATUS_ENUM.失败]: {
    label: "失败",
    type: "danger",
  },
};
